package tetrinet.client;

public class Tuple2<A,B> { 
	
	public final A item1; public final B item2;

//Constructor from components
public Tuple2(A item1Init, B item2Init)
{
     item1 = item1Init;
     item2 = item2Init;
}

//Constructor from another Tuple2 with the same types:
public Tuple2(Tuple2 <A, B> anotherTuple2)
{
     item1 = anotherTuple2.item1;
     item2 = anotherTuple2.item2;
}

//No getters/setters are needed/possible because the components are public/final.
}